package yanivosher.aiproject;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;

public class ChemReportedBNN extends BasianNetworkNode {
	
	public ChemReportedBNN(ArrayList<BasianNetworkNode> parents) {
		super(parents);
		this.probTable = buildProbTable();
	}
	
	private HashMap<String, Float> buildProbTable()
	{
		HashMap<String, Float> retMap = new HashMap<String, Float>();
		retMap.put(getStringFromParents(Arrays.asList(true)), Environment.chemReportingProb);
		retMap.put(getStringFromParents(Arrays.asList(false)), 0.0F);
		return retMap;
	}
}
